import $api from './index.js'

//登录
export const isLogin = async(data)=>{
    const res = await $api.post('/findLogin',data)
    return res
}

//注册
export const isRegister = async(data)=>{
    const res = await $api.post('/addRegister',data)
    return res
}